Optimal. Leaf size=19 \[ -x+\frac {(a+b x) \log (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2436, 2332}
\begin {gather*} \frac {(a+b x) \log (a+b x)}{b}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2436
Rubi steps
\begin {align*} \int \log (a+b x) \, dx &=\frac {\text {Subst}(\int \log (x) \, dx,x,a+b x)}{b}\\ &=-x+\frac {(a+b x) \log (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 19, normalized size = 1.00 \begin {gather*} -x+\frac {(a+b x) \log (a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 25, normalized size = 1.32
method | result | size |
norman | \(x \ln \left (b x +a \right )+\frac {a \ln \left (b x +a \right )}{b}-x\) | \(24\) |
risch | \(x \ln \left (b x +a \right )+\frac {a \ln \left (b x +a \right )}{b}-x\) | \(24\) |
derivativedivides | \(\frac {\left (b x +a \right ) \ln \left (b x +a \right )-b x -a}{b}\) | \(25\) |
default | \(\frac {\left (b x +a \right ) \ln \left (b x +a \right )-b x -a}{b}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 23, normalized size = 1.21 \begin {gather*} -\frac {b x - {\left (b x + a\right )} \log \left (b x + a\right ) + a}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 22, normalized size = 1.16 \begin {gather*} -\frac {b x - {\left (b x + a\right )} \log \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 24, normalized size = 1.26 \begin {gather*} - b \left (- \frac {a \log {\left (a + b x \right )}}{b^{2}} + \frac {x}{b}\right ) + x \log {\left (a + b x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.93, size = 23, normalized size = 1.21 \begin {gather*} -\frac {b x - {\left (b x + a\right )} \log \left (b x + a\right ) + a}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 23, normalized size = 1.21 \begin {gather*} x\,\ln \left (a+b\,x\right )-x+\frac {a\,\ln \left (a+b\,x\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________